# 可变参数
def funcVariableParams(*args):
    if len(args) == 0:
        return 0
    else:
        return sum(args)/len(args)

print(funcVariableParams(1,2,3,4))

print(funcVariableParams())